<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8">
    <script type="text/javascript" src="assets/jwplayer.min.js"></script>
    <link type="text/css" rel="stylesheet" href="assets/style.css" />
    <title>Single Files Entry</title>

</head>
<body>

<h2>Single Files Entry</h2>

<p>This setup uses the <em>files</em> and <em>labels</em> options for a single caption.</p>

<div id="player"></div>

<script type="text/javascript">
    jwplayer("player").setup({
        file: 'http://content.bitsontherun.com/videos/7OCSON1y.mp4',
        height: 270,
        image: 'http://content.bitsontherun.com/thumbs/7OCSON1y-320.jpg',
        plugins: {
            '../captions.js': {
                files: 'assets/corrie.srt',
                labels: 'Closed Captions'
            }
        },
        flashplayer: 'assets/player.swf',
        width: 480,
        debug: 'console'
    });
</script>

<ul>
    <li>Check in Flash and on one HTML5 desktop browser.</li>
    <li>Check if the captions themselves display correctly.</li>
    <li>Check if the button acts as single toggle and not pops up the menu.</li>
    <li>Check if the <em>state</em> is correctly saved in a cookie.</li>
</ul>

</body>
</html>